<template>
	<view class="msj_guanzhu">
		<view class="msj_guanzhu_top">
			{{user}}的关注
		</view>
		<view class="">
			<mygzlist :list="guanzhu" />
		</view>
	</view>
</template>

<script>
	import {getmsjusermy} from '../../../../utils/api.js'
	import mygzlist from '../component/mygzlist.vue'
	export default {
		components:{
			mygzlist
		},
		data() {
			return {
				guanzhu:[],
				user:''
			}
		},
		onLoad() {
			let token=JSON.parse(uni.getStorageSync('token'))
			getmsjusermy(token.userid).then(res=>{
				this.guanzhu=JSON.parse(res.data.guanzhu) 
				this.user=res.data.username
			})
		},
		onshow(){
			
		},
		methods: {
			
		}
	}
</script>

<style>
.msj_guanzhu{
	width: 100%;
}

.msj_guanzhu_top{
	text-align: left;
	padding: 10px 0;
	position: fixed;
	top: 0; width: 65%;
	right: 0;
	font-weight: 700;
	font-size: 18px; z-index: 999;
}
</style>
